export default class keyboard{
  constructor(){

  }
  show(obj){
    wx.onKeyboardComplete(this.onComplete.bind(this))
    wx.onKeyboardInput(this.onInput.bind(this))
    wx.onKeyboardConfirm(this.onConfirm.bind(this))
    return wx.showKeyboard(obj)
  }
  hide(obj){
    return wx.hideKeyboard()
  }
  update(obj){
    return wx.updateKeyboard(obj)
  }
  onComplete(){

  }
  onInput(){

  }
  onConfirm(){

  }
}